package com.bridgeintelligent.tag.customer.looklike;

import com.bridgeintelligent.tag.customer.model.CustomerModel;

import java.util.List;

/**
 * 相似客群服务接口
 */
public interface ILookLikeService {

    void addLookLike(LookLikeInfo lookLikeInfo);

    void updateLookLike(LookLikeInfo lookLikeInfo);

    boolean checkName(String id,String lookName);

    LookLikeInfo findById(String id);

    void delById(String id);

    LookLikePage<LookLikeInfo> findList(String lookName,String isAnalysis,String stTime,String edTime,Integer pageNum,Integer pageSize);

    void readyData(String id);

    void updateDataStatus(String isAnalysis,String seedStatus,String blackSeedStatus,String whiteSeedStatus,String id);

    void makeExpire();

    LookLikePage<LookLikeCharacter> findCharacterList(String lookId,String dimName,Integer pageNum,Integer pageSize);

    List<CustomerModel> lookCustomerList(String indexId,String customerName,String num);

    void addOperation(String code,String lookId);

}
